import request from '@/utils/request'

// 查询录播列表
export function listRecordedbroadcast(query) {
  return request({
    url: '/system/Recordedbroadcast/list',
    method: 'get',
    params: query
  })
}

// 查询录播详细
export function getRecordedbroadcast(id) {
  return request({
    url: '/system/Recordedbroadcast/' + id,
    method: 'get'
  })
}

// 新增录播
export function addRecordedbroadcast(data) {
  return request({
    url: '/system/Recordedbroadcast',
    method: 'post',
    data: data
  })
}

// 修改录播
export function updateRecordedbroadcast(data) {
  return request({
    url: '/system/Recordedbroadcast',
    method: 'put',
    data: data
  })
}

// 删除录播
export function delRecordedbroadcast(id) {
  return request({
    url: '/system/Recordedbroadcast/' + id,
    method: 'delete'
  })
}
